package com.ssy.bus.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ssy.bus.pojo.Department;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author ssy
 */
@Repository
public interface DepartmentMapper extends BaseMapper<Department> {

    int updateDepartmentByNumber(@Param("id") Integer id);

    int clearRegister();

}
